package com.wfuhui.modules.order.service;

import com.github.binarywang.wxpay.exception.WxPayException;
import com.wfuhui.modules.order.entity.OrderRefundEntity;

import java.util.List;
import java.util.Map;

/**
 * 订单退款
 * 
 * @author lizhengle
 * @email codemax@qq.com
 * @date 07-27 12:19:44
 */
public interface OrderRefundService {
	
	OrderRefundEntity queryObject(Integer id);
	
	List<OrderRefundEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(OrderRefundEntity orderRefund);
	
	void update(OrderRefundEntity orderRefund);
	
	void delete(Integer id);
	
	void deleteBatch(Integer[] ids);

	void refund(OrderRefundEntity orderRefund) throws WxPayException;
}
